package com.ecut.property_project.service.base;

import com.ecut.property_project.mapper.base.BaseProjectInfoMapper;
import com.ecut.property_project.model.base.BaseProjectInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BaseProjectInfoService{

    @Resource
    private BaseProjectInfoMapper baseProjectInfoMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return baseProjectInfoMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(BaseProjectInfo record) {
        return baseProjectInfoMapper.insert(record);
    }

    
    public int insertSelective(BaseProjectInfo record) {
        return baseProjectInfoMapper.insertSelective(record);
    }

    public List<BaseProjectInfo> selectAll(){
        return baseProjectInfoMapper.selectAll();
    }

    public List<BaseProjectInfo> selectByPage(Integer page, Integer pageSize){return baseProjectInfoMapper.selectByPage(page,pageSize);}

    public BaseProjectInfo selectByPrimaryKey(Integer id) {
        return baseProjectInfoMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(BaseProjectInfo record) {
        return baseProjectInfoMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(BaseProjectInfo record) {
        return baseProjectInfoMapper.updateByPrimaryKey(record);
    }

}
